<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<%@ include file="../../common/headConfig.jsp"%>
	<link rel="stylesheet" href="css/vehicleGroup.css" />
	<script type="text/javascript" src="js/configManagement/vehicleTravelStrategy.js"></script>
	
	<script>
		rivmsMenuActive = "rivms_ConfigManagement";
		 $(document).ready(function() {
		 	$( "button" ).button();
			ajaxFindVehicleTravelStrategySearchList();
		 });
	</script>
</head>
<body>
	<div id="rvimsContent">
		<%@ include file="../../common/header.jsp"%>
		<div id="rvimsMain">
			<div style="width: 100%;">
				<div class="crumbbox">当前位置：配置管理&gt;&gt;<font color="red">车辆行驶策略信息管理</font></div>
				<div class="buttonbox">
					<button onclick="ajaxShowVehicleTravelStrategyEdit(null);return false;">新增</button>
					<button onclick="ajaxDeleteVehicleTravelStrategyById(null)">删除</button>
				</div>
				<div id="sltVehicleTravelStrategy"  class="searchbox">
						<table style="background-color: #3BAAE3;width: 100%" cellspacing="0" cellpadding="0">
							<tr>
								<td align="right">名称：</td>
								<td><input type="text" id="scName"></td>
								<td align="right">信号灯状态：</td>
								<td>
									<select id="scSignalLampStatus">
										<option value="">---请选择---</option>
										<c:forEach items="${lstSignalLampStatus}" var="signalLampStatus">
											<option value="${signalLampStatus.code }">${signalLampStatus.name }</option>
										</c:forEach>
									</select>
								</td>
								<td>
									<button onclick="ajaxFindVehicleTravelStrategySearchList()">查询</button>
								</td>
							</tr>
							<tr>
								<td align="right">行驶方向：</td>
								<td>
									<select id="scTravelDirection">
										<option value="">---请选择---</option>
										<c:forEach items="${lstTravelDirection}" var="travelDirection">
											<option value="${travelDirection.code }">${travelDirection.name }</option>
										</c:forEach>
									</select>
								</td>
								<td align="right">是否可继续通行：</td>
								<td>
									<select id="scCanMove">
										<option value="">--请选择--</option>
										<option value="1">是</option>
										<option value="0">否</option>
									</select>
								</td>
								<td>
									<button onclick="clearInput('#sltVehicleTravelStrategy')">重置</button>
								</td>
							</tr>
						</table>
				</div>
				<form id="fmVehicleTravelStrategy" method="post"><input type="hidden" id="vehicleTravelStrategyId" name="vehicleTravelStrategyId"></form>
				<div id="listVehicleTravelStrategyBox" style="width: 100%;"></div>
			</div>
		</div>
		<%@ include file="../../common/footer.jsp"%>
	</div>
</body>
<script>
	$("#effectiveStartTime").datepicker({
	      changeMonth: true,
	      numberOfMonths: 1,
	      onClose: function( selectedDate ) {
	        $( "#effectiveEndTime" ).datepicker( "option", "minDate", selectedDate );
	      }
	    });
	$("#effectiveEndTime").datepicker({
	      changeMonth: true,
	      numberOfMonths: 1,
	      onClose: function( selectedDate ) {
	        $( "#effectiveStartTime" ).datepicker( "option", "maxDate", selectedDate );
	      }
	    });
	$(".date").datepicker({regional:"zh-CN"});
</script>
</html>


